package com.xiaoyi.intentsdklibrary.Utils;

import android.content.Context;
import android.os.Vibrator;

public class ClickSDK {
    private static Vibrator vibrator;

    public static void onlyVibrate(Context context) {
        try {
            if (vibrator == null) {
                vibrator = (Vibrator) context.getSystemService("vibrator");
            }
            vibrator.vibrate(80);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
